<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: Body.php 2011-04-26 11:18:13 michael $
 * @author     Michael
 */

/**
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

class Wall_Model_Helper_Body extends Activity_Model_Helper_Abstract {
	/**
	 * Body helper
	 * 
	 * @param string $body
	 * @return string
	 */
	public function direct($body) {
		if (Zend_Registry::isRegistered ( 'Zend_View' )) {
			$view = Zend_Registry::get ( 'Zend_View' );
			$body = $view->viewMore ( $body );
		}
		return '<span class="feed_item_bodytext">' . $body . '</span>';
	}
}